package com.hxiaoyi.cloud.service;

import org.springframework.stereotype.Component;

/**
 * PaymentFallbackService
 * @author 黄敬意
 * @date 2022-02-13 16:18
 **/
@Component
public class PaymentFallbackService implements PaymentHystrixService{

    @Override
    public String paymentInfoOK(Integer id) {
        return "---------PaymentFallbackService fall-back-paymentInfoOK---------";
    }

    @Override
    public String paymentInfoTimeOut(Integer id) {
        return "---------PaymentFallbackService fall-back-paymentInfoTimeOut---------";
    }
}
